Skip to content

Conversation

bluetech
Copy link
Member

@bluetech bluetech commented Oct 6, 2025

#13783 (comment) suggests we might want to expose Expression. This PR makes some small changes in preparation of that from going over the code. Please see the commits.

Should do it properly, not a big difference.
Copy link
Member

@RonnyPfannschmidt RonnyPfannschmidt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely iteration.

Expression input should be a attribute and we might want to throw in finals and/or frozen dataclasses

Make the module a little nicer ahead of possibly exposing it publicly.
If we are going to expose Expression, better to use a general exception,
this way we can avoid exposing an extra type.
@bluetech bluetech force-pushed the expression-lipstick branch from 7ab0232 to d77cbfa Compare October 6, 2025 21:42
@bluetech
Copy link
Member Author

bluetech commented Oct 6, 2025

Expression input should be a attribute and we might want to throw in finals and/or frozen dataclasses

Done!

@bluetech bluetech added the skip news used on prs to opt out of the changelog requirement label Oct 6, 2025
Copy link
Member

@RonnyPfannschmidt RonnyPfannschmidt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks 👍

@bluetech bluetech merged commit f1e3fee into pytest-dev:main Oct 7, 2025
33 checks passed
@bluetech bluetech deleted the expression-lipstick branch October 7, 2025 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news used on prs to opt out of the changelog requirement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants